<template>
  <div class="card content-box" style="padding: 0">
    <pdf-view page-scale="auto" width="100%" height="100%" @loaded="onLoaded" />
  </div>
</template>

<script setup lang="ts">
// import { ref } from "vue";
import PdfView from "@/components/PdfView/index.vue";
// import { GetPDFApi, GetPDFfolderApi } from "@/api/modules/resources";

// const pdfShowSrc = ref("");
// const options = ref<any>([]);
// async function fetchAndSetViewerProperties() {
//   const res = await GetPDFfolderApi();
//   options.value = res.data;
//   const BOlb = await GetPDFApi();
//   pdfShowSrc.value = URL.createObjectURL(BOlb as Blob);
// }
// fetchAndSetViewerProperties();

function onLoaded() {
  // console.log("loaded app:", pdfApp);
}
</script>
